package czhcontroller

import (
	czhdao "Cgo/front/dao/CzhDao"

	"github.com/gin-gonic/gin"
)

var AdminDao = czhdao.AdminDao
var LoginDao = czhdao.LoginDao
var DestinationDao = czhdao.DestinationDao
var HotelDao = czhdao.HotelDao
var StrategyDao = czhdao.StrategyDao

func InitCzhController(r *gin.RouterGroup) {
	CzhAdminController(r.Group("/user"))
	CzhLoginController(r.Group("/admin"))
	CzhSynopsisController(r.Group("/destination"))
	CzhHotelController(r.Group("/hotel"))
	CzhStrategyController(r.Group("/strategy"))
}
